import Vue from 'vue'
import App from './App.vue'
import "./style/style.scss"
import router from "./router/index"

// 导入element ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// 导入base64转码
const Base64 = require('js-base64').Base64;
Vue.prototype.$Base64 = Base64

// 导入自定义库
import http from "@/http/index"
Vue.prototype.$http = http;
import tools from "@/tools/index"
Vue.prototype.$tools = tools;

import store from "@/store/index"

// Vue.config.productionTip = false

new Vue({
  store, //向vue中注入store仓库
  Base64,
  router,
  render: h => h(App),
}).$mount('#app')